#pragma once

#include "ViewStats.h"

namespace Polynomigra {

	using namespace System;
	using namespace System::ComponentModel;
	using namespace System::Collections;
	using namespace System::Windows::Forms;
	using namespace System::Data;
	using namespace System::Drawing;

	/// <summary>
	/// Summary for ViewInfo
	/// </summary>
	public ref class ViewInfo : public System::Windows::Forms::Form
	{
	public:
		ViewInfo(void)
		{
			InitializeComponent();
			//
			//TODO: Add the constructor code here
			//
		}

	protected:
		/// <summary>
		/// Clean up any resources being used.
		/// </summary>
		~ViewInfo()
		{
			if (components)
			{
				delete components;
			}
		}

	private: System::Windows::Forms::MenuStrip^  mnuMain;
	private: System::Windows::Forms::ToolStripMenuItem^  aboutToolStripMenuItem;
	private: System::Windows::Forms::ToolStripMenuItem^  exitToolStripMenuItem;
	private: System::Windows::Forms::ToolStripMenuItem^  logOutToolStripMenuItem;
	private: System::Windows::Forms::Label^  label8;
	private: System::Windows::Forms::Label^  lblUserName;
	private: System::Windows::Forms::Label^  lblStudentID;
	private: System::Windows::Forms::Label^  lblUserID;
	private: System::Windows::Forms::Label^  lblStuID;
	private: System::Windows::Forms::Label^  lblGradeNum;
	private: System::Windows::Forms::Label^  lblGrade;
	private: System::Windows::Forms::Label^  lblStuName;
	private: System::Windows::Forms::Label^  lblPassword;
	private: System::Windows::Forms::Label^  lblPasswordData;
	private: System::Windows::Forms::Button^  btnViewStats;
	private: System::Windows::Forms::Button^  btnEdit;
	private: System::Windows::Forms::Button^  btnBack;
	protected: 

	private:
		/// <summary>
		/// Required designer variable.
		/// </summary>
		System::ComponentModel::Container ^components;

#pragma region Windows Form Designer generated code
		/// <summary>
		/// Required method for Designer support - do not modify
		/// the contents of this method with the code editor.
		/// </summary>
		void InitializeComponent(void)
		{
			System::ComponentModel::ComponentResourceManager^  resources = (gcnew System::ComponentModel::ComponentResourceManager(ViewInfo::typeid));
			this->mnuMain = (gcnew System::Windows::Forms::MenuStrip());
			this->aboutToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem());
			this->exitToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem());
			this->logOutToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem());
			this->label8 = (gcnew System::Windows::Forms::Label());
			this->lblUserName = (gcnew System::Windows::Forms::Label());
			this->lblStudentID = (gcnew System::Windows::Forms::Label());
			this->lblUserID = (gcnew System::Windows::Forms::Label());
			this->lblStuID = (gcnew System::Windows::Forms::Label());
			this->lblGradeNum = (gcnew System::Windows::Forms::Label());
			this->lblGrade = (gcnew System::Windows::Forms::Label());
			this->lblStuName = (gcnew System::Windows::Forms::Label());
			this->lblPassword = (gcnew System::Windows::Forms::Label());
			this->lblPasswordData = (gcnew System::Windows::Forms::Label());
			this->btnViewStats = (gcnew System::Windows::Forms::Button());
			this->btnEdit = (gcnew System::Windows::Forms::Button());
			this->btnBack = (gcnew System::Windows::Forms::Button());
			this->mnuMain->SuspendLayout();
			this->SuspendLayout();
			// 
			// mnuMain
			// 
			this->mnuMain->BackColor = System::Drawing::SystemColors::GradientInactiveCaption;
			this->mnuMain->Items->AddRange(gcnew cli::array< System::Windows::Forms::ToolStripItem^  >(3) {this->aboutToolStripMenuItem, 
				this->exitToolStripMenuItem, this->logOutToolStripMenuItem});
			this->mnuMain->Location = System::Drawing::Point(0, 0);
			this->mnuMain->Name = L"mnuMain";
			this->mnuMain->Size = System::Drawing::Size(944, 24);
			this->mnuMain->TabIndex = 7;
			this->mnuMain->Text = L"menuStrip1";
			// 
			// aboutToolStripMenuItem
			// 
			this->aboutToolStripMenuItem->Name = L"aboutToolStripMenuItem";
			this->aboutToolStripMenuItem->Size = System::Drawing::Size(52, 20);
			this->aboutToolStripMenuItem->Text = L"About";
			// 
			// exitToolStripMenuItem
			// 
			this->exitToolStripMenuItem->Name = L"exitToolStripMenuItem";
			this->exitToolStripMenuItem->Size = System::Drawing::Size(37, 20);
			this->exitToolStripMenuItem->Text = L"Exit";
			// 
			// logOutToolStripMenuItem
			// 
			this->logOutToolStripMenuItem->Name = L"logOutToolStripMenuItem";
			this->logOutToolStripMenuItem->Size = System::Drawing::Size(62, 20);
			this->logOutToolStripMenuItem->Text = L"Log Out";
			// 
			// label8
			// 
			this->label8->AutoSize = true;
			this->label8->BackColor = System::Drawing::Color::Transparent;
			this->label8->Font = (gcnew System::Drawing::Font(L"Cambria Math", 18, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point, 
				static_cast<System::Byte>(0)));
			this->label8->ForeColor = System::Drawing::SystemColors::ControlLightLight;
			this->label8->Location = System::Drawing::Point(372, 53);
			this->label8->Name = L"label8";
			this->label8->Size = System::Drawing::Size(201, 134);
			this->label8->TabIndex = 8;
			this->label8->Text = L"Polynomigra";
			this->label8->TextAlign = System::Drawing::ContentAlignment::MiddleCenter;
			// 
			// lblUserName
			// 
			this->lblUserName->AutoSize = true;
			this->lblUserName->BackColor = System::Drawing::Color::Transparent;
			this->lblUserName->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 14));
			this->lblUserName->ForeColor = System::Drawing::Color::White;
			this->lblUserName->Location = System::Drawing::Point(375, 314);
			this->lblUserName->Name = L"lblUserName";
			this->lblUserName->Size = System::Drawing::Size(110, 24);
			this->lblUserName->TabIndex = 13;
			this->lblUserName->Text = L"User Name:";
			// 
			// lblStudentID
			// 
			this->lblStudentID->AutoSize = true;
			this->lblStudentID->BackColor = System::Drawing::Color::Transparent;
			this->lblStudentID->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 14));
			this->lblStudentID->ForeColor = System::Drawing::Color::White;
			this->lblStudentID->Location = System::Drawing::Point(375, 280);
			this->lblStudentID->Name = L"lblStudentID";
			this->lblStudentID->Size = System::Drawing::Size(101, 24);
			this->lblStudentID->TabIndex = 14;
			this->lblStudentID->Text = L"Student ID:";
			// 
			// lblUserID
			// 
			this->lblUserID->AutoSize = true;
			this->lblUserID->BackColor = System::Drawing::Color::Transparent;
			this->lblUserID->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 14));
			this->lblUserID->ForeColor = System::Drawing::Color::White;
			this->lblUserID->Location = System::Drawing::Point(492, 314);
			this->lblUserID->Name = L"lblUserID";
			this->lblUserID->Size = System::Drawing::Size(40, 24);
			this->lblUserID->TabIndex = 15;
			this->lblUserID->Text = L"UID";
			// 
			// lblStuID
			// 
			this->lblStuID->AutoSize = true;
			this->lblStuID->BackColor = System::Drawing::Color::Transparent;
			this->lblStuID->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 14));
			this->lblStuID->ForeColor = System::Drawing::Color::White;
			this->lblStuID->Location = System::Drawing::Point(492, 280);
			this->lblStuID->Name = L"lblStuID";
			this->lblStuID->Size = System::Drawing::Size(49, 24);
			this->lblStuID->TabIndex = 12;
			this->lblStuID->Text = L"SID#";
			// 
			// lblGradeNum
			// 
			this->lblGradeNum->AutoSize = true;
			this->lblGradeNum->BackColor = System::Drawing::Color::Transparent;
			this->lblGradeNum->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 14));
			this->lblGradeNum->ForeColor = System::Drawing::Color::White;
			this->lblGradeNum->Location = System::Drawing::Point(492, 246);
			this->lblGradeNum->Name = L"lblGradeNum";
			this->lblGradeNum->Size = System::Drawing::Size(69, 24);
			this->lblGradeNum->TabIndex = 9;
			this->lblGradeNum->Text = L"grade#";
			// 
			// lblGrade
			// 
			this->lblGrade->AutoSize = true;
			this->lblGrade->BackColor = System::Drawing::Color::Transparent;
			this->lblGrade->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 14));
			this->lblGrade->ForeColor = System::Drawing::Color::White;
			this->lblGrade->Location = System::Drawing::Point(375, 246);
			this->lblGrade->Name = L"lblGrade";
			this->lblGrade->Size = System::Drawing::Size(67, 24);
			this->lblGrade->TabIndex = 10;
			this->lblGrade->Text = L"Grade:";
			// 
			// lblStuName
			// 
			this->lblStuName->AutoSize = true;
			this->lblStuName->BackColor = System::Drawing::Color::Transparent;
			this->lblStuName->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 14.5F));
			this->lblStuName->ForeColor = System::Drawing::Color::White;
			this->lblStuName->Location = System::Drawing::Point(375, 199);
			this->lblStuName->Name = L"lblStuName";
			this->lblStuName->Size = System::Drawing::Size(195, 25);
			this->lblStuName->TabIndex = 11;
			this->lblStuName->Text = L"FirstName LastName";
			// 
			// lblPassword
			// 
			this->lblPassword->AutoSize = true;
			this->lblPassword->BackColor = System::Drawing::Color::Transparent;
			this->lblPassword->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 14));
			this->lblPassword->ForeColor = System::Drawing::SystemColors::Control;
			this->lblPassword->Location = System::Drawing::Point(375, 347);
			this->lblPassword->Name = L"lblPassword";
			this->lblPassword->Size = System::Drawing::Size(97, 24);
			this->lblPassword->TabIndex = 16;
			this->lblPassword->Text = L"Password:";
			// 
			// lblPasswordData
			// 
			this->lblPasswordData->AutoSize = true;
			this->lblPasswordData->BackColor = System::Drawing::Color::Transparent;
			this->lblPasswordData->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 14));
			this->lblPasswordData->ForeColor = System::Drawing::SystemColors::Control;
			this->lblPasswordData->Location = System::Drawing::Point(492, 347);
			this->lblPasswordData->Name = L"lblPasswordData";
			this->lblPasswordData->Size = System::Drawing::Size(50, 24);
			this->lblPasswordData->TabIndex = 16;
			this->lblPasswordData->Text = L"Pass";
			// 
			// btnViewStats
			// 
			this->btnViewStats->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 12));
			this->btnViewStats->Location = System::Drawing::Point(288, 433);
			this->btnViewStats->Name = L"btnViewStats";
			this->btnViewStats->Size = System::Drawing::Size(119, 39);
			this->btnViewStats->TabIndex = 0;
			this->btnViewStats->Text = L"View Stats";
			this->btnViewStats->UseVisualStyleBackColor = true;
			this->btnViewStats->Click += gcnew System::EventHandler(this, &ViewInfo::btnViewStats_Click);
			// 
			// btnEdit
			// 
			this->btnEdit->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 12));
			this->btnEdit->Location = System::Drawing::Point(413, 433);
			this->btnEdit->Name = L"btnEdit";
			this->btnEdit->Size = System::Drawing::Size(119, 39);
			this->btnEdit->TabIndex = 0;
			this->btnEdit->Text = L"Edit";
			this->btnEdit->UseVisualStyleBackColor = true;
			// 
			// btnBack
			// 
			this->btnBack->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 12));
			this->btnBack->Location = System::Drawing::Point(538, 433);
			this->btnBack->Name = L"btnBack";
			this->btnBack->Size = System::Drawing::Size(119, 39);
			this->btnBack->TabIndex = 0;
			this->btnBack->Text = L"Back";
			this->btnBack->UseVisualStyleBackColor = true;
			// 
			// ViewInfo
			// 
			this->AutoScaleDimensions = System::Drawing::SizeF(6, 13);
			this->AutoScaleMode = System::Windows::Forms::AutoScaleMode::Font;
			this->BackgroundImage = (cli::safe_cast<System::Drawing::Image^  >(resources->GetObject(L"$this.BackgroundImage")));
			this->BackgroundImageLayout = System::Windows::Forms::ImageLayout::Stretch;
			this->ClientSize = System::Drawing::Size(944, 562);
			this->Controls->Add(this->btnBack);
			this->Controls->Add(this->btnEdit);
			this->Controls->Add(this->btnViewStats);
			this->Controls->Add(this->lblPasswordData);
			this->Controls->Add(this->lblPassword);
			this->Controls->Add(this->lblUserName);
			this->Controls->Add(this->lblStudentID);
			this->Controls->Add(this->lblUserID);
			this->Controls->Add(this->lblStuID);
			this->Controls->Add(this->lblGradeNum);
			this->Controls->Add(this->lblGrade);
			this->Controls->Add(this->lblStuName);
			this->Controls->Add(this->label8);
			this->Controls->Add(this->mnuMain);
			this->Name = L"ViewInfo";
			this->Text = L"ViewInfo";
			this->mnuMain->ResumeLayout(false);
			this->mnuMain->PerformLayout();
			this->ResumeLayout(false);
			this->PerformLayout();

		}
#pragma endregion
	
	private: System::Void btnViewStats_Click(System::Object^  sender, System::EventArgs^  e) {
				 ViewStats^ viewstats = gcnew ViewStats();
				 viewstats->Show();
			 }
};
}
